from ship_envs.core.ship import Ship
import numpy as np


class ShipForward(Ship):
    def __init__(self):
        super().__init__()
        self.target = None
        self.cur_speed = 0.004
        self._show_model.color = np.array([0.5, 0.5, 1])

    def is_agent(self):
        return False

    def step(self, action):
        # 按给定的方向，笔直向前
        self.move_by_action(0)

    def arrive_target(self):
        return False
